package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生回访管理对象 AGAINVISIT
 * 
 * @author ruoyi
 * @date 2021-11-09
 */
public class AGAINVISIT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生名字 */
    @Excel(name = "学生名字")
    private String studentName;

    /** 班级名字 */
    @Excel(name = "班级名字")
    private String className;

    /** 关系 */
    @Excel(name = "关系")
    private String relation;

    /** 回访状态 */
    @Excel(name = "回访状态")
    private String visitType;

    /** 回访老师 */
    @Excel(name = "回访老师")
    private String visitTeacher;

    /** 回访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitTime;

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }
    public void setVisitType(String visitType) 
    {
        this.visitType = visitType;
    }

    public String getVisitType() 
    {
        return visitType;
    }
    public void setVisitTeacher(String visitTeacher) 
    {
        this.visitTeacher = visitTeacher;
    }

    public String getVisitTeacher() 
    {
        return visitTeacher;
    }
    public void setVisitTime(Date visitTime) 
    {
        this.visitTime = visitTime;
    }

    public Date getVisitTime() 
    {
        return visitTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentName", getStudentName())
            .append("className", getClassName())
            .append("relation", getRelation())
            .append("visitType", getVisitType())
            .append("visitTeacher", getVisitTeacher())
            .append("remark", getRemark())
            .append("visitTime", getVisitTime())
            .toString();
    }
}
